#ifndef NODE_PROPERTY_H
#define NODE_PROPERTY_H

#include <QObject>
#include <QDockWidget>
//#include "diagramitem.h"


QT_BEGIN_NAMESPACE

class QDockWidget;
class QtVariantPropertyManager;
class QtProperty;
class QtVariantProperty;
class QtVariantEditorFactory;
class QtTreePropertyBrowser;
QT_END_NAMESPACE


class NodePropertyWidget :public  QDockWidget
{
public:

	NodePropertyWidget(/*DiagramItem::DiagramType type,*/ QWidget* parent = 0);
	~NodePropertyWidget();

private:
	void createProcessTreeProperty();
	void createDisplayTreeProperty();
	void createArrowTreeProperty();

private:
	QtVariantPropertyManager *variantManager;
	QtProperty *topItem;
	QtVariantProperty *item;
	QtVariantEditorFactory *variantFactory;
	QtTreePropertyBrowser *variantEditor;
};




#endif